package com.hr.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hr.pojo.Teacher;
import com.hr.pojo.TeacherUser;
import org.apache.ibatis.annotations.Select;

import java.util.List;
public interface TeacherMapper extends BaseMapper<Teacher> {
    @Select("select * from teacher where id = #{id}")
    List<Teacher> getTeacherlist(Integer id);
    @Select("select * from user where id = #{id}")
    List<TeacherUser> getTeacherIcon(Integer id);
}
